Project Finished!#703
Conversation
TheCSharpAcademy
left a comment
There was a problem hiding this comment.
Hi @GrimHaagenti thanks for the submission! The project needs a bit of work before approval. 😔
-
DivisionHandler() can generate secondOperand = 0 inside the loop, which means this line can crash with a divide-by-zero exception:
while (firstOperand % secondOperand != 0) -
matchLength is set to 5, but the game ends immediately after the first wrong answer. So a player may only answer 1 or 2 questions instead of completing the full round and the requirements say we need at least 5 rounds.
-
You have a previousGamesHistory list and a ShowRecord() method, which is a good start. But RecordPoints() is only called when the player gets an answer wrong. If the player completes all 5 questions correctly, the score is not recorded, and currentPoints is not reset.
:P